import React, { Component } from 'react'
import styled from 'styled-components';


const H1 = styled.h1`
    color: #f66;
    border: 1px solid blue;
    background: papayawhip;
`

const Btn = styled.button({
    color: 'blue',
    padding: 10
});

export default class App extends Component {
    render() {
        return (
            <>
                <H1>App 组件</H1>
                <Btn>点击</Btn>
            </>
        )
    }
}
